package net.seabookchen.pojo;

import javax.persistence.Id;
import javax.xml.bind.annotation.XmlRootElement;

import com.googlecode.objectify.annotation.Unindexed;


@XmlRootElement(name="tag")
public class BlogTag {
	@Unindexed private @Id Long id;
	@Unindexed private String tag;

	public BlogTag() {}
	
	public BlogTag(String tag) {
		this.tag = tag;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTag() {
		return tag;
	}

	public void setTitle(String tag) {
		this.tag = tag;
	}

	@Override
	public String toString() {
		return "BlogTag [id=" + id + ", tag=" + tag + "]";
	}
	
}
